Skip to content

Pin third-party action references to commit SHAs in docs#38

Merged
dash14 merged 1 commit intomainfrom
docs/pin-action-refs-to-sha
Apr 5, 2026
Merged

Pin third-party action references to commit SHAs in docs#38
dash14 merged 1 commit intomainfrom
docs/pin-action-refs-to-sha

Conversation

@dash14
Copy link
Copy Markdown
Owner

@dash14 dash14 commented Apr 5, 2026

Summary

  • Pin third-party GitHub Actions references in documentation code examples to full commit SHAs, matching the format used in actual workflow YAML files under .github/workflows/
  • Affected files: README.md, docs/self-hosting.md

Changes

Action Before After
actions/checkout @v4 @de0fac2e... (v6.0.2)
docker/setup-buildx-action @v4 @4d04d5d9... (v4.0.0)
docker/build-push-action @v6 @d08e5c35... (v7.0.0)
docker/login-action @v3 @b45d80f8... (v4.0.0)

Motivation

Using mutable version tags in documentation examples encourages users to copy insecure patterns. SHA pinning prevents supply chain attacks via tag manipulation and is consistent with the project's own workflows.

Update README.md and docs/self-hosting.md to use commit SHA pinning for third-party GitHub Actions, matching the format used in actual workflow YAML files.
@dash14 dash14 merged commit bf50c3d into main Apr 5, 2026
6 checks passed
@dash14 dash14 deleted the docs/pin-action-refs-to-sha branch April 5, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant